export default {
  title: "财务",
  moduleName: "fms",
  order: 20,
  menuList: [
    {
      path: "base",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "基础管理",
        icon: "guide",
      },
      children: [
        {
          path: "account",
          meta: {
            title: "账户管理",
            icon: "banck",
          },
        },
        {
          path: "channel",
          meta: {
            title: "银行/渠道管理",
            icon: "banck",
          },
        },
        {
          path: "rate",
          meta: {
            title: "币种/汇率管理",
            icon: "banck",
          },
        },
        {
          path: "vat",
          meta: {
            title: "VAT资料",
            icon: "banck",
          },
        },
      ],
    },
    {
      //资金管理
      path: "capital",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "资金管理",
        icon: "guide",
      },
      children: [
        {
          path: "payment",
          component: "Layout",
          alwaysShow: true,
          redirect: "noRedirect",
          meta: {
            title: "付款管理",
          },
          children: [
            {
              path: "payment-detail",
              meta: {
                title: "付款明细管理",
              },
            },
            {
              path: "bill-detail",
              meta: {
                title: "票据明细管理",
              },
            },
          ],
        },
        {
          path: "recharge",
          component: "Layout",
          alwaysShow: true,
          redirect: "noRedirect",
          meta: {
            title: "收款管理",
          },
          children: [
            {
              path: "platform-loan",
              meta: {
                title: "平台放款管理",
              },
            },
            {
              path: "bank-recharge",
              meta: {
                title: "银行收款",
              },
            },
            {
              path: "third-recharge",
              meta: {
                title: "第三方流水明细管理",
              },
            },
          ],
        },
        {
          path: "dispatch",
          meta: {
            title: "资金调度",
          },
        },
        {
          path: "plan",
          component: "Layout",
          alwaysShow: true,
          redirect: "noRedirect",
          meta: {
            title: "资金计划管理",
          },
          children: [
            {
              path: "sum",
              meta: {
                title: "资金计划汇总",
              },
            },
            {
              path: "fund-week",
              meta: {
                title: "资金周计划",
              },
            },
            {
              path: "fund-month",
              meta: {
                title: "资金月计划",
              },
            },
            {
              path:'payment',
              meta:{
                title:'收款计划管理'
              }
            }
          ],
        },
        {
          path: "flow",
          meta: {
            title: "账户流水管理",
          },
        },
      ],
    },
    {
      path: "financial-manage",
      component: "Layout",
      alwaysShow: true,
      redirect: "noRedirect",
      meta: {
        title: "财务管理",
        icon: "guide",
      },
      children: [
        {
          path: "payment",
          meta: {
            title: "付款申请管理",
          },
        },
        {
          path: "residual-invoice",
          meta: {
            title: "剩余发票",
          },
        },
        {
          path: "initial-bills",
          meta: {
            title: "头程物流对账",
          },
        },
        {
          path: "bills-payment",
          meta: {
            title: "物流付款单",
          },
        },
        {
          path: "vat-statistics",
          meta: {
            title: "欧洲VAT递延统计",
          },
        },
        {
          path: "drawback-statistics",
          meta: {
            title: "退税统计",
          },
        },
        {
          path: "residual-invoice",
          meta: {
            title: "剩余发票统计",
          },
        },
        {
          path: "virtual-card-manage",
          meta: {
            title: "虚拟信用卡管理",
          },
        },
      ]
    }
  ],
};
